package hu.mapro.gamelib;

import com.badlogic.gdx.Game;
import com.badlogic.gdx.Screen;

public class SingleScreenGame extends Game {

	Screen screen;
	
	public SingleScreenGame(Screen screen) {
		super();
		this.screen = screen;
	}

	@Override
	public void create() {
		setScreen(screen);
	}

	public static final SingleScreenGame of(Screen screen) {
		return new SingleScreenGame(screen);
	}
	
}